package com.easyCms.wechat.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.easyCms.base.entity.BaseEntity;

@Entity
@Table(name = "wechat_user")
public class WechatUser extends BaseEntity {
	@Column(name = "open_id")
	private String openId;

	@Column(name = "hami_code")
	private String hamiCode;

	@Column(name = "phone_number")
	private String phoneNumber;

	@Column(name = "nick_name")
	private String nickName;

	@Column(name = "avatar_url")
	private String avatarUrl;
	private String country;
	private String province;
	private String city;
	private Integer sex;

	private String language;
	@Column(name = "class_id")
	private String classId;

	public String getClassId() {
		return classId;
	}

	public void setClassId(String classId) {
		this.classId = classId;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getHamiCode() {
		return hamiCode;
	}

	public void setHamiCode(String hamiCode) {
		this.hamiCode = hamiCode;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

}
